#include <stdio.h>
#include <string.h>

#define NAMESIZE	32

// struct stu_st 结构体类型
struct stu_st {
	char id;
	char name[NAMESIZE];
	float score;
}__attribute__((packed)); // __attribute__((packed))编译器单字节对齐
typedef struct stu_st stu_t;
// stu_t 就是struct stu_st
struct stu2_st {
	char id;
	char name[NAMESIZE];
	float score;
}; // __attribute__((packed))编译器单字节对齐

int main(void)
{
	stu_t s;
	struct stu2_st s2;

	printf("%ld\n", sizeof(s));
	printf("%ld\n", sizeof(s2));

	return 0;
}

